package top.infopub.model.cap;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import top.infopub.generic.GenericEntity;

import java.math.BigDecimal;
import java.util.Date;

/** 融资付费申请(CAP_PAYFEE_APPLY) **/
public class PayfeeApply extends GenericEntity  {

	private static final long serialVersionUID = 1L;
	
	/*PK*/
	private String id;
	/*PK*/
	public String getId(){
		return id;
	}
	
	public void setId(String id){
		 this.id = id;
	}
	
	/* 添加人 */
	private String addBy;
	
	public String getAddBy(){
		return addBy;
	}
	
	public void setAddBy(String addBy){
		this.addBy = addBy;
	}
	/* 添加时间 */
	private Date addTime;
	
	public Date getAddTime(){
		return addTime;
	}
	
	public void setAddTime(Date addTime){
		this.addTime = addTime;
	}
	/* 申请付款日期 */
	private Date applyPayDate;
	
	public Date getApplyPayDate(){
		return applyPayDate;
	}
	
	public void setApplyPayDate(Date applyPayDate){
		this.applyPayDate = applyPayDate;
	}
	/* 单据编号 */
	private String codes;
	
	public String getCodes(){
		return codes;
	}
	
	public void setCodes(String codes){
		this.codes = codes;
	}
	/* 申请部门ID */
	private String hrDeptId;
	
	public String getHrDeptId(){
		return hrDeptId;
	}
	
	public void setHrDeptId(String hrDeptId){
		this.hrDeptId = hrDeptId;
	}
	/* 付款公司ID */
	private String hrOrgBillId;
	
	public String getHrOrgBillId(){
		return hrOrgBillId;
	}
	
	public void setHrOrgBillId(String hrOrgBillId){
		this.hrOrgBillId = hrOrgBillId;
	}
	/* 申请公司ID */
	private String hrOrgId;
	
	public String getHrOrgId(){
		return hrOrgId;
	}
	
	public void setHrOrgId(String hrOrgId){
		this.hrOrgId = hrOrgId;
	}
	/* 申请人ID */
	private String hrStaffApplyId;
	
	public String getHrStaffApplyId(){
		return hrStaffApplyId;
	}
	
	public void setHrStaffApplyId(String hrStaffApplyId){
		this.hrStaffApplyId = hrStaffApplyId;
	}
	/* 申请事由 */
	private String payReason;
	
	public String getPayReason(){
		return payReason;
	}
	
	public void setPayReason(String payReason){
		this.payReason = payReason;
	}
	/* 申请付款总额（元） */
	private BigDecimal payTotal;
	
	public BigDecimal getPayTotal(){
		return payTotal;
	}
	
	public void setPayTotal(BigDecimal payTotal){
		this.payTotal = payTotal;
	}
	/* 关联的审批流程ID */
	private String processId;
	
	public String getProcessId(){
		return processId;
	}
	
	public void setProcessId(String processId){
		this.processId = processId;
	}
	/* 当前审批状态 1=审批中 9=审批完成 10=审批终止 */
	private String processStatus;
	
	public String getProcessStatus(){
		return processStatus;
	}
	
	public void setProcessStatus(String processStatus){
		this.processStatus = processStatus;
	}
	/* 项目全局唯一编号 */
	private String proCode;
	
	public String getProCode(){
		return proCode;
	}
	
	public void setProCode(String proCode){
		this.proCode = proCode;
	}
	/* 项目名称 */
	private String proName;
	
	public String getProName(){
		return proName;
	}
	
	public void setProName(String proName){
		this.proName = proName;
	}
	/* 申请人姓名 */
	private String staffName;
	
	public String getStaffName(){
		return staffName;
	}
	
	public void setStaffName(String staffName){
		this.staffName = staffName;
	}
	/* 摘要 */
	private String summary;
	
	public String getSummary(){
		return summary;
	}
	
	public void setSummary(String summary){
		this.summary = summary;
	}
	/* 最后修改人 */
	private String uptBy;
	
	public String getUptBy(){
		return uptBy;
	}
	
	public void setUptBy(String uptBy){
		this.uptBy = uptBy;
	}
	/* 最后修改时间 */
	private Date uptTime;
	
	public Date getUptTime(){
		return uptTime;
	}
	
	public void setUptTime(Date uptTime){
		this.uptTime = uptTime;
	}

	/*OA代办id*/
	private String oaId;
	/*实际付款金额*/
	private BigDecimal actualPayAmt;
	/*实际付款时间*/
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date paymentDate;
	/*说明*/
	private String specification;
	/*付款状态(0=已付款 1=未付款)*/
	private String payStatus;

	public String getOaId() {
		return oaId;
	}

	public void setOaId(String oaId) {
		this.oaId = oaId;
	}

	public String getPayStatus() {
		return payStatus;
	}

	public void setPayStatus(String payStatus) {
		this.payStatus = payStatus;
	}

	public BigDecimal getActualPayAmt() {
		return actualPayAmt;
	}

	public void setActualPayAmt(BigDecimal actualPayAmt) {
		this.actualPayAmt = actualPayAmt;
	}

	public Date getPaymentDate() {
		return paymentDate;
	}

	public void setPaymentDate(Date paymentDate) {
		this.paymentDate = paymentDate;
	}

	public String getSpecification() {
		return specification;
	}

	public void setSpecification(String specification) {
		this.specification = specification;
	}
}